package com.intelligent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 付款核销表
 * @TableName payment_write_off
 */
@TableName(value = "payment_write_off")
@Data
public class PaymentWriteOff implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 核销单号
     */
    @TableField("write_off_no")
    private String writeOffNo;

    /**
     * 关联付款单ID
     */
    @TableField("payment_order_id")
    private Long paymentOrderId;

    /**
     * 核销金额
     */
    @TableField("write_off_amount")
    private BigDecimal writeOffAmount;

    /**
     * 核销日期
     */
    @TableField("write_off_date")
    private Date writeOffDate;

    /**
     * 财务人员ID
     */
    @TableField("u_id")
    private Long uId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}


